Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add more tests #57

Merged
merged 3 commits into from
Jan 23, 2023
Merged

add more tests #57

merged 3 commits into from
Jan 23, 2023

Conversation

c-cube
Copy link
Contributor

@c-cube c-cube commented Mar 9, 2022

https://www.di-mgt.com.au/sha_testvectors.html provides a battery of tests for the SHA functions, including some very long inputs (here, represented as string generators).

This also includes a patch that ensures that make tests actually fails with non-0 error code if a test fails.

Copy link
Owner

@djs55 djs55 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the tests! Sorry for the delay merging this...

@djs55 djs55 merged commit da7c242 into djs55:master Jan 23, 2023
@djs55
Copy link
Owner

djs55 commented Jan 23, 2023

There may actually be a problem with these. I'll experiment by reverting the PR

@djs55
Copy link
Owner

djs55 commented Jan 23, 2023

Ah I think there was an existing problem which was hidden, as the test failures weren't being handled properly (as you noticed)

@djs55
Copy link
Owner

djs55 commented Jan 23, 2023

It was a real bug, fixed in #61

@c-cube c-cube deleted the more-tests branch January 23, 2023 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants